package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.player.UserColdRoomSite;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.Map;

public class UserColdRoomBussiness {
    public static Map<Integer, UserColdRoomSite> getUserColdRoomSiteMap(long userId) {
        return DaoHelper.getUserColdRoomDaoImpl().getUserColdRoomSiteMap(userId);
    }

    public static boolean addUserColdRoomSite(UserColdRoomSite userColdRoomSite) {
        return DaoHelper.getUserColdRoomDaoImpl().add(userColdRoomSite);
    }

    public static boolean updateUserColdRoomSite(UserColdRoomSite userColdRoomSite) {
        return DaoHelper.getUserColdRoomDaoImpl().update(userColdRoomSite);
    }
}
